Combobox = function(name, title, namespace,fields){
	
	Combobox.superclass.constructor.call(this, {
		fieldLabel : title,
//		name : name,
		hiddenName : name,
		editable : false,
		typeAhead: true,
	    triggerAction: 'all',
	    lazyRender:true,
	    forceSelection : false,
	    mode: 'local',
	    store: new Ext.data.JsonStore({
	    	url : namespace+"/query.action",
	        fields: fields||["id","name"]
	    }),
	    valueField: "id",
	    displayField: "name"
	});
};
Ext.extend(Combobox, Ext.form.ComboBox);
